package com.kingdee.eas.custom.crm;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.bos.util.*;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.Context;
import com.kingdee.bos.BOSException;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.eas.framework.ICoreBillBase;

public interface IBusinessManage extends ICoreBillBase
{
    public BusinessManageCollection getBusinessManageCollection() throws BOSException;
    public BusinessManageCollection getBusinessManageCollection(EntityViewInfo view) throws BOSException;
    public BusinessManageCollection getBusinessManageCollection(String oql) throws BOSException;
    public BusinessManageInfo getBusinessManageInfo(IObjectPK pk) throws BOSException, EASBizException;
    public BusinessManageInfo getBusinessManageInfo(IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException;
    public BusinessManageInfo getBusinessManageInfo(String oql) throws BOSException, EASBizException;
    public void close(BusinessManageInfo model) throws BOSException;
    public void unClose(BusinessManageInfo model) throws BOSException;
    public void winOrders(BusinessManageInfo model) throws BOSException;
    public void loseOrders(BusinessManageInfo model) throws BOSException;
    public void distribute(BusinessManageInfo model) throws BOSException;
    public void shareBusin(BusinessManageInfo model) throws BOSException;
    public void audit(BusinessManageInfo model) throws BOSException;
    public void unAudit(BusinessManageInfo model) throws BOSException;
    public void businessCheck(BusinessManageInfo model) throws BOSException;
}